package com.practice.zuocy.base.class10;

public class Edge {
	// 这条边上的权重（代价）是多少
	public int weight;
	// 这条边是从哪个节点出来的
	public Node from;
	// 这条边进入的是哪个节点
	public Node to;

	public Edge(int weight, Node from, Node to) {
		this.weight = weight;
		this.from = from;
		this.to = to;
	}

}
